package com.zmj.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.zmj.service.DocumentInfoFullService;
import com.zmj.service.DocumentInfoService;
import com.zmj.service.GeneratePdfService;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("/documentInfo/")
@Api("生成pdf文档")
public class DocumentInfoItexController {

    @Autowired
    private GeneratePdfService generatePdfService;

    @ApiOperation("生成pdf文档")
    @PostMapping("DocumentInfoItex")
    public String DocumentInfoItex() {
        generatePdfService.documentInfoItex();
        return null;
    }

}
